package com.zoro.barn.api.login;

import com.zoro.barn.dto.login.PasswordUserDto;
import com.zoro.barn.dto.login.TokenDto;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author zhaoxingwu
 */
public interface PasswordLoginApi {

    @RequestMapping("/valid")
    PasswordUserDto valid(@RequestBody TokenDto dto);
}
